package com.miaohy.demo.service;

import com.miaohy.demo.entity.TBasicUpload;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miaohy.demo.models.DownLoadFIleVO;
import com.miaohy.demo.models.UploadFileDTO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2025-02-25
 */
public interface IBasicUploadService extends IService<TBasicUpload> {

    UploadFileDTO upload(MultipartFile multipartFile);

    void download(DownLoadFIleVO vo, HttpServletResponse response);
}
